package com.tbs.parkingsaleapp.UI.Adapters.Selectors;

import com.tbs.parkingsaleapp.Http.JsonData.ParkResult;
import com.tbs.parkingsaleapp.SystemManager.SystemDataMananger;

public class LowRecommendSelector implements SystemDataMananger.ISelectPark{

    double minvalue=10;
    public LowRecommendSelector(double min)
    {
        minvalue=min;
    }

    public LowRecommendSelector()
    {

    }

    public double getMinvalue() {
        return minvalue;
    }

    public void setMinvalue(double minvalue) {
        this.minvalue = minvalue;
    }

    @Override
    public boolean Select(ParkResult parkResult) {

        return parkResult.Recommond()>=minvalue;
    }
}
